package com.poet.quickdev.sql2o.demo.holder;

import org.sql2o.Sql2o;

import com.poet.quickdev.sql2o.demo.config.DatabaseConfig;

public abstract class Sql2oHolder {
	
	private static Sql2o sql2o ;
	
	static {
		sql2o = new Sql2o(DatabaseConfig.CONNECTION_URL,DatabaseConfig.USERNAME,DatabaseConfig.PASSWORD);
	}
	
	public static Sql2o getSql2o(){
		return sql2o;
	}
}
